<?php
/*
 * @Author       : chaihao
 * @Date         : 2020-07-01 10:27:34
 * @LastEditTime : 2020-09-16 18:12:49
 * @FilePath     : /xunao/ai/config/db.php
 * @author: chaihao <chaihao0823@gmail.com>
 */
return [
    'class' => 'yii\db\Connection',
    # 外网地址
    //    'dsn' => 'mysql:host=sh-cdb-kotj4v8g.sql.tencentcdb.com:60848;dbname=ppx_db_bak',
    //    'username' => 'root',
    //    'password' => 'AIsj839@#!k1',
    # 内网地址
    //    'dsn' => 'mysql:host=172.17.0.12;dbname=ppx_db',
    //    'username' => 'root',
    //    'password' => '(76qLkla$7qghLhq^&0nlKJqMzgu',

    'dsn' => 'mysql:host=127.0.0.1:3306;dbname=ppx_db',
    'username' => 'root',
    'password' => '#lp6cidsov#H',
    'charset' => 'utf8',
    //    "172.17.0.12","root","(76qLkla$7qghLhq^&0nlKJqMzgu","ppx_db");
    // 'enableSchemaCache' => true
];
